;; Example file demonstrating number-string conversion functions

;; Convert numbers to strings
(number->string 42)
(number->string -123)
(number->string 3.14)
(number->string 3/4)

;; Convert numbers to strings with different radices
(number->string 42 2)   ; Binary
(number->string 42 8)   ; Octal
(number->string 42 16)  ; Hexadecimal
(number->string 255 16) ; Hexadecimal

;; These would work if string parsing was fully functional:
;; (string->number "42")
;; (string->number "3.14")
;; (string->number "not a number") ; Should return #f
;; (string->number "52" 8)  ; Octal
;; (string->number "2a" 16) ; Hexadecimal
;; (string->number "101010" 2) ; Binary

;; Define some variables and convert them
(define my-number 123)
(number->string my-number)

(define pi 3.14159)
(number->string pi)